import {} from '@/utils/yudao/formUtil';
import {} from './purchasePreBill.api';
import { rules } from '/@/utils/helper/validator';

export interface GridRowVO {
  id: number;
  skuTitle: string;
  nickname?: string;
  role?: string;
  sex?: string;
  age?: number;
  address?: string;
}

export interface RowVO {
  skuTitle: string;
  skuSpecName: string;
  sex: string;
}

/***
export const validateFuncDemo = ({model,schema,values })=>{
    if(values.textInput){
        return values.field8 ? [{ required: true, message: '字段必填' }] : [];
    }else{
        return [
            { ...rules.duplicateCheckRule('sys_user', 'phone', model, schema, false)[0] },
            {...rules.confirmPassword(values, true)},
            {...rules.phone(false)},
                ];
            }
    }
*/
